Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nat behav #113

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Nat behav #113

wants to merge 7 commits into from

Conversation

rodrigcd
Copy link
Collaborator

Adding naturalistic behavior to the main repo, as in the tutorial for the neuro ai summer school

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 10.13514% with 133 lines in your changes missing coverage. Please review.

Project coverage is 53.31%. Comparing base (51e2a61) to head (91966ff).

Files with missing lines Patch % Lines
neuralplayground/vendored/trajectory_generator.py 7.25% 115 Missing ⚠️
neuralplayground/agents/agent_core.py 18.18% 18 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
- Coverage   55.18%   53.31%   -1.88%     
==========================================
  Files          40       42       +2     
  Lines        3441     3588     +147     
==========================================
+ Hits         1899     1913      +14     
- Misses       1542     1675     +133     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

sequence_length=20,
batch_size=32,
):
self.sequence_length = sequence_length
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My experience playing with this at some point is that I was quite dependant on the size of the room. Is there a way to make this more general ?

# v = torch.tensor(v, dtype=torch.float32).transpose(0, 1)

pos = np.stack([traj["target_x"], traj["target_y"]], axis=-1)
# pos = torch.tensor(pos, dtype=torch.float32).transpose(0, 1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean the comments :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants